package com.util;

import java.util.List;

public class IndexJson {
    private String title;	//标题
    private String icon;	//icon图标
    private String image;	//logo图标
    private String href;	// 页面路径
    private String target;	//是否单独打开新页面,_self 不打开,_blank 打开
    private List<IndexJson> child;	//二级菜单


    public IndexJson() {

    }

    public IndexJson(String title, String href) {
        this.title = title;
        this.href = href;
    }


    public IndexJson(String title, String image, String href) {
        this.title = title;
        this.image = image;
        this.href = href;
    }

    public IndexJson(String title, String icon,String href, String target,List<IndexJson> child) {
        this.title = title;
        this.icon = icon;
        this.target = target;
        this.href = href;
        this.child=child;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public List<IndexJson> getChild() {
        return child;
    }

    public void setChild(List<IndexJson> child) {
        this.child = child;
    }
}
